#pragma once
#include"shape.h"

class Cylinder:public Shape3D{
    private:
        double baseRadius = 0;
        double height = 0;
    public:
        Cylinder(double r, double h):baseRadius(r),height(h){};
        double volume() const;
        double area() const;
};